package com.ultimatech.webappdemo.authmgr;

import org.springframework.context.annotation.*;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;

/**
 * Created by zhangleping on 16/10/17.
 */
@Configuration
@ComponentScan(basePackages = {"com.ultimatech.webappdemo"})
@ImportResource("classpath*:conf/*-beans.xml")
@PropertySource("classpath:dsConf.properties")
public class Config {

    @Bean
    public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() {
        return new PropertySourcesPlaceholderConfigurer();
    }

}
